import sys
sys.path.append("/")
from app.api.v1.auth import auth_bp
from app.api.v1.users import users_bp
from app.api.v1.financial import financial_bp

def register_blueprints(app):
    """注册蓝图到Flask应用"""
    app.register_blueprint(auth_bp, url_prefix='/auth')
    app.register_blueprint(users_bp, url_prefix='/users')
    app.register_blueprint(financial_bp, url_prefix='/financial')

